
<div style="float: left;">
<div class="ui-corner-top side_menu" style="width: 100%;">Section-Subject Assignment</div>
<div style="border:1px  solid #286bcc;">
	<div>&nbsp;</div>
	<div>
	<?if(isset($system_message))echo $system_message;?>
	<table>
		<?if(!empty($section_subjects)):?>
			<thead class="tabular-head">
			<tr>
				<th>Section Name</th>
				<th>Subjects Assigned</th>
             	<th>Assign Subjects</th>
			</tr>
			</thead>
			<tbody class="tabular">
			<?foreach($section_subjects as $ss):?>
				<tr>
					<td><?=$ss->section_name;?></td>
					<td><?php echo $ss->total == NULL ? 0 : $ss->total;?></td>
					<td><a href="<?php echo site_url('admin/assign_subjects/'.$ss->section_id)?>">Assign</a></td>
				</tr>
			
			<?endforeach;?>
			</tbody>
		<?else:?>
			<tr><td> No data avaialable</td></tr>
		<?endif;?>
	</table>
	</div>
	<div class="clearfloat"></div>
</div>
<div>&nbsp;</div>
</div>